package com.link_with_health.model;

import java.io.Serializable;
import java.util.ArrayList;

public class DoctorEntity implements Serializable {
    private Long drId;//医生Id，由管理员分配
    private Long hospitalId;
    private Long departmentId;/*内科、外科、儿科、妇科、眼科、耳鼻喉科、
    口腔科、皮肤科、中医科、骨科、心理咨询室、肿瘤科、急诊科*/
    private String realName;
    private Integer title;//职位
    private String perInfo;//个人信息介绍
    private Integer doctorStatus;
    private Long userId;

    //补充
    private String hospitalName;
    private String titleName;
    private String statusName;
    private String departmentName;

    public DoctorEntity() {
    }

    public DoctorEntity(Long drId, Long hospitalId, Long departmentId, String realName, Integer title, String perInfo, Integer doctorsStatus, Long userId) {
        this.drId = drId;
        this.hospitalId = hospitalId;
        this.departmentId = departmentId;
        this.realName = realName;
        this.title = title;
        this.perInfo = perInfo;
        this.doctorStatus = doctorStatus;
        this.userId = userId;
    }

    public String getPerInfo() {
        return perInfo;
    }

    public void setPerInfo(String perInfo) {
        this.perInfo = perInfo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getTitle() {
        return title;
    }

    public void setTitle(Integer title) {
        this.title = title;
    }

    public Long getDrId() {
        return drId;
    }

    public void setDrId(Long DrId) {
        this.drId = DrId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getDoctorStatus() {
        return doctorStatus;
    }

    public void setDoctorStatus(Integer doctorStatus) {
        this.doctorStatus = doctorStatus;
    }



    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Override
    public String toString() {
        return "DoctorEntity{" +
                "drId=" + drId +
                ", hospitalId=" + hospitalId +
                ", departmentId=" + departmentId +
                ", realName='" + realName + '\'' +
                ", title=" + title +
                ", perInfo='" + perInfo + '\'' +
                ", doctorStatus=" + doctorStatus +
                ", userId=" + userId +
                ", hospitalName='" + hospitalName + '\'' +
                ", titleName='" + titleName + '\'' +
                ", statusName='" + statusName + '\'' +
                ", departmentName='" + departmentName + '\'' +
                '}';
    }
}
